namespace EduModel
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    public partial class R_MatFile
    {
        [Key]
        public int MatId { get; set; }

        public int UserId { get; set; }

        public int SchoolId { get; set; }

        public int StageId { get; set; }

        public int StudyId { get; set; }

        public int VersionId { get; set; }

        public int GradeId { get; set; }

        public long VolumeId { get; set; }

        public long UnitId { get; set; }

        public long LessonId { get; set; }

        [Required]
        [StringLength(200)]
        public string MatTitle { get; set; }

        public int MatTypeId { get; set; }

        public int SourceType { get; set; }

        public int OpenRange { get; set; }

        public int FlagSchool { get; set; }

        public int FlagArea { get; set; }

        [StringLength(500)]
        public string MatPath { get; set; }

        public int MatSize { get; set; }

        public int? MatExtId { get; set; }

        [StringLength(500)]
        public string KeyWord { get; set; }

        public string MatDes { get; set; }

        public DateTime TimeCreate { get; set; }

        public int LookCnt { get; set; }

        public int StarCnt { get; set; }

        [StringLength(500)]
        public string FileCutImg { get; set; }

        [StringLength(500)]
        public string FileConvert { get; set; }

        public DateTime? FileConvertTime { get; set; }

        public int? ConvertNum { get; set; }

        public int? ConvertHead { get; set; }

        [StringLength(2000)]
        public string PrelectObject { get; set; }

        [StringLength(50)]
        public string lecturePro { get; set; }
    }
}
